
package com.kweative.lingua.server.request;

import com.kweative.format.Format;
import com.kweative.lingua.server.protocol.Protocol;
import com.kweative.lingua.server.session.Session;
import com.kweative.type.Node;
import java.io.IOException;
import java.io.InputStream;

/**
 *
 * @author henrik
 */
public interface RequestHandler {
    public Protocol getResponseProtocol();
    public void setResponseProtocol(Protocol protocol);
    public void read(InputStream in) throws IOException;
    public Format getFormat();
    public Node getData();
    public boolean isPersistent();
    public int getTimeout();
    public void clear();
}
